//
//  CustomCollectionViewCell.m
//  14-HomeWork
//
//  Created by 李昊林 on 16/8/2.
//  Copyright © 2016年 李昊林. All rights reserved.
//


#import "CustomCollectionViewCell.h"
@interface CustomCollectionViewCell ()
@property (nonatomic, strong) UILabel *nameLabel;
@property (nonatomic, strong) UILabel *describLable;
@property (nonatomic, strong) UIImageView *columnImageView;
@end
@implementation CustomCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        _columnImageView = [[UIImageView alloc] initWithFrame:self.contentView.bounds];
        [self.contentView addSubview:_columnImageView];
        _columnImageView.image = [UIImage imageNamed:@"2"];
        _nameLabel = [[UILabel alloc] initWithFrame:CGRectMake(20, 30, 70, 20)];
        [self.contentView addSubview:_nameLabel];
        _nameLabel.text = @"生活";
        _describLable = [[UILabel alloc] initWithFrame:CGRectMake(20, 55, 120, 15)];
        _describLable.text = @"生活用品";
        [self.contentView addSubview:_describLable];
        
    }
    return self;
}






@end
